find . -type f -exec file {} \;| grep text$| cut -d: -f1 |grep -v svn > outfile
while read FNAME; do
     tr -d '\015' < "${FNAME}" > "${FNAME}".bak
     mv "${FNAME}".bak "${FNAME}"
done < outfile
rm outfile
